package com.lambdajEx;

import net.sf.cglib.proxy.Enhancer;

public class Test {

	public static void main(String[] args) {
		Enhancer enhancer = new Enhancer();

		enhancer.setCallback(new CGIBProxy());
		enhancer.setInterfaces(new Class[] { IFoo.class });

		IFoo query = (IFoo) enhancer.create();

		query.sayHello();

	}

}
